using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace FreeSqlLearn {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class rq_jbxxbtc {

		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public int id { get; set; }

		[JsonProperty]
		public Guid? JxCode { get; set; }

		/// <summary>
		/// 2:科目二调车  3：科目三调车
		/// </summary>
		[JsonProperty, Column(CanInsert = false)]
		public int km { get; set; } = 2;

		[JsonProperty]
		public Guid? stuId { get; set; }

		/// <summary>
		/// 调车操作人
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string tcczr { get; set; }

		/// <summary>
		/// 调车时间
		/// </summary>
		[JsonProperty]
		public DateTime? tcsj { get; set; }

		/// <summary>
		/// 调车操作人
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string tcyy { get; set; }

		/// <summary>
		/// -1:取消分车 0:学员调车 1教练互调
		/// </summary>
		[JsonProperty, Column(CanInsert = false)]
		public int type { get; set; } = 0;

		/// <summary>
		/// 新教练
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string xjl { get; set; }

		[JsonProperty]
		public Guid? xjlId { get; set; }

		/// <summary>
		/// 原教练
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string yjl { get; set; }

		[JsonProperty]
		public Guid? yjlId { get; set; }

	}

}
